<template>
</template>

<script type="text/javascript">
    const proName = [
        {code: '110000', name: '北京'},
        {code: '120000', name: '天津'},
        {code: '130000', name: '河北'},
        {code: '140000', name: '山西'},
        {code: '150000', name: '内蒙古'},
        {code: '210000', name: '辽宁'},
        {code: '220000', name: '吉林'},
        {code: '230000', name: '黑龙江'},
        {code: '310000', name: '上海'},
        {code: '320000', name: '江苏'},
        {code: '330000', name: '浙江'},
        {code: '340000', name: '安徽'},
        {code: '350000', name: '福建'},
        {code: '360000', name: '江西'},
        {code: '370000', name: '山东'},
        {code: '410000', name: '河南'},
        {code: '420000', name: '湖北'},
        {code: '430000', name: '湖南'},
        {code: '440000', name: '广东'},
        {code: '450000', name: '广西'},
        {code: '460000', name: '海南'},
        {code: '500000', name: '重庆'},
        {code: '510000', name: '四川'},
        {code: '520000', name: '贵州'},
        {code: '530000', name: '云南'},
        {code: '540000', name: '西藏'},
        {code: '610000', name: '陕西'},
        {code: '620000', name: '甘肃'},
        {code: '630000', name: '青海'},
        {code: '640000', name: '宁夏'},
        {code: '650000', name: '新疆'},
        {code: '710000', name: '台湾'},
        {code: '810000', name: '香港'},
        {code: '820000', name: '澳门'},
        {code: '340100', name: '合肥市'},
        {code: '340200', name: '芜湖市'},
        {code: '340300', name: '蚌埠市'},
        {code: '340400', name: '淮南市'},
        {code: '340500', name: '马鞍山'},
        {code: '340600', name: '淮北市'},
        {code: '340700', name: '铜陵市'},
        {code: '340800', name: '安庆市'},
        {code: '341000', name: '黄山市'},
        {code: '341100', name: '滁州市'},
        {code: '341200', name: '阜阳市'},
        {code: '341300', name: '宿州市'},
        {code: '341500', name: '六安市'},
        {code: '341600', name: '亳州市'},
        {code: '341700', name: '池州市'},
        {code: '341800', name: '宣城市'},
        {code: '350100', name: '福州市'},
        {code: '350200', name: '厦门市'},
        {code: '350300', name: '莆田市'},
        {code: '350400', name: '三明市'},
        {code: '350500', name: '泉州市'},
        {code: '350600', name: '漳州市'},
        {code: '350700', name: '南平市'},
        {code: '350800', name: '龙岩市'},
        {code: '350900', name: '宁德市'},
        {code: '620100', name: '兰州市'}
    ]
    function getName (state, arr) {
        for (var i = 0; i < arr.length; i++) {
            if (arr[i].code === state) {
                return arr[i].name;
            }
        }
    }
    export default {
        proName,
        getName
    };
</script>

